// 个人信息编辑 接口
import type { EditMy, EditMyItem } from '@/types/editmy'
import { request } from '@/utils/request'

export const editMy = (params: EditMyItem) => {
  return request({
    url: '/user/update',
    method: 'POST',
    data: params,
  })
}